package com.itwk.gulimall.product.feign;

import com.itwk.common.to.SkuReductionTo;
import com.itwk.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: wangke
 * @Date: 2021/01/18/下午 11:08
 * @Description:
 */
@FeignClient("gulimall-coupon")
public interface SkuMenberPriceFeign {
    @PostMapping("/coupon/memberprice/save")
    public R save(@RequestBody SkuReductionTo skuReductionTo);
}
